package com.dreammakerteam.frameworkdemo.qzhj.domain;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 清真泛化产品追踪
 * @author xy
 * @version 0.1
 */
@TableName("d_qzhj_product_history")
public class DQzhjProductHistoryDo extends Model<DQzhjProductHistoryDo> {


	private static final long serialVersionUID = -2320934323426652374L;
	/**
     * id
     */
	private Long id;
    /**
     * 产品id
     */
	@TableField("prod_id")
	private Long prodId;
    /**
     * 内容
     */
	private String content;
    /**
     * 日期
     */
	@TableField("create_time")
	private Date createTime;


	public Long getId() {
		return id;
	}

	public DQzhjProductHistoryDo setId(Long id) {
		this.id = id;
		return this;
	}

	public Long getProdId() {
		return prodId;
	}

	public DQzhjProductHistoryDo setProdId(Long prodId) {
		this.prodId = prodId;
		return this;
	}

	public String getContent() {
		return content;
	}

	public DQzhjProductHistoryDo setContent(String content) {
		this.content = content;
		return this;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public DQzhjProductHistoryDo setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}


	@Override
	public String toString() {
		return "DQzhjProductHistoryDo{" +
				"id=" + id +
				", prodId=" + prodId +
				", content='" + content + '\'' +
				", createTime=" + createTime +
				'}';
	}
}
